package main

import "gitee.com/dreamwood/ez-maker/maker"

func KpiProcessProduct() {
	c := maker.CreateTable("KpiProcessProduct", "折工", "produce")
	c.AddManyToOne("process", "工序", "Process")
	c.AddManyToOne("product", "产品", "Product").SetSrcDir("product")
	c.AddFloat("rate", "折工率")
	c.AddUpdateAt()
	c.Generate()
}
